package py.com.alfa.escriba.web.rest.dto;

import java.util.ArrayList;
import java.util.List;

import py.com.alfa.escriba.persistence.dto.ServicioDTO;
import py.com.alfa.escriba.persistence.dto.UserDTO;

public class UserResponseDTO {
    private UserDTO user;
    private List<ServicioDTO> srvs;
    
	public UserResponseDTO() {
		this.srvs = new ArrayList<ServicioDTO>();
	}

	public UserDTO getUser() {
		return user;
	}

	public void setUser(UserDTO user) {
		this.user = user;
	}

	public List<ServicioDTO> getSrvs() {
		return srvs;
	}

	public void setSrvs(List<ServicioDTO> srvs) {
		this.srvs = srvs;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("UserResponseDTO [user=");
		builder.append(user);
		builder.append(", srvs=");
	    for (ServicioDTO servicioDTO : this.srvs) {
	    	builder.append(servicioDTO.toString());	
		}
		builder.append("]");
		return builder.toString();
	}

	
}
